package com.hydl.power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hydl.power.pojo.CabinetDevice;
import com.hydl.power.pojo.LowVoltageTransformer;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wxx
 * @since 2021-03-03
 */
public interface LowVoltageTransformerMapper extends BaseMapper<LowVoltageTransformer> {

    LowVoltageTransformer getDeviceByCircuitId(String circuitId);

    void addLowVoltageTransformer(LowVoltageTransformer lowVoltageTransformer);

    void updateLowVoltageTransformer(Integer id, String name, String manufactor, String serialNumber, String modelNumber, String productionTime, String transformationRatio, String circuitId, String projectId, String projectName, String powerRoomId, String powerRoomName);

    void deleteLowVoltageTransformer(Integer id);

    List<CabinetDevice> getDeviceByProjectId(String projectId);
}
